A/B testing

ABSTRACT

Performing A/B testing of content of a webpage includes selecting one of at least two different versions of the webpage to be displayed to a user through an interactive user interface (e.g., a web browser) based on an identification code, such as an Internet Protocol address or tracker identifier supplied by a cookie, associated with the user.

This description relates to A/B testing.

BACKGROUND

A/B testing is a process used in marketing to isolate and test factors that affect performance of a marketing effort. For example, A/B testing is commonly used in direct mail marketing where different versions of a direct mail letter are sent to different groups of people. The response rates of people receiving the different letters are compared to determine things that worked and didn't work in the letters. Everything from the color of the ink to the appearance of the envelope can be tested using A/B testing.

A/B testing can also be used to isolate and test aspects of content on a website that impacts its effectiveness. For example, A/B testing can be used to determine whether one “place order” button is more effective than another at getting users to order a product.

SUMMARY

In one aspect, the invention features a method, e.g., for performing A/B testing of content on a webpage, that includes selecting one of at least two different versions of an electronic communication (e.g., a web page) to be displayed to a user through an interactive user interface (e.g., a web browser) based on an identification code (e.g., an IP address or other code associated with a computer of the user) associated with the user. In some implementations, the different versions of the electronic communication may be different with respect to a visible interactive element such as a hyperlink.

In another aspect, the invention features a computer-implemented method for performing an A/B test of a webpage that includes receiving a request for a webpage and selecting one of a plurality of different versions of the webpage based on bits of an identification code associated with a user computer making the request.

Implementations may include one or more of the following features. The identification code may be an address, such as an IP address, associated with a user computer making the request (e.g., a user computer or a proxy computer acting on behalf of the user computer). The identification code may be a tracking code provided by the user computer. The user computer may be a cellular telephone, personal data assistant, laptop computer, or a desktop computer.

Selection of which of the different version of the webpage can be performed either at the user computer (e.g., by a web browser executing a script provided by the server) or at the server computer. Selection can be based on one or more bits of the identification code (e.g., the least significant bit).

In another aspect, the invention features a method for implementing an A/B test of a webpage that includes receiving at a server a plurality of requests over time for a webpage and diverting each of the received requests to one of several different versions of the webpage, each located at a different Uniform Resource Locator, based on one or more bits in an identification code associated with the request.

Implementations may include one or more of the following features. The method may also include tracking responses of users who receive different version of the webpage and then comparing the tracked responses of users.

Diversion of the received requests may occur by sending the user computer a webpage containing a script configured to cause the user computer to request one of the several different versions of the webpage based on one or more bits in an identification code (e.g., an IP address of the user computer or a proxy computer) associated with the user computer. Diversion may also occur at the server side by, for example, sending the user computer one of several different versions of the webpage based on an identifier (e.g., a tracking ID cookie) provided with the request.

In another aspect, the invention features a medium bearing instructions to cause an instruction processor to, in response to receiving a request for a webpage from a requesting computer, select one of a plurality of different versions of a webpage based on bits of an identification code (e.g., an IP address, tracker ID code) associated with a user computer making the request, and transmit the selected webpage to the requesting computer.

In another aspect, the invention features a medium bearing instructions to cause an instruction processor to, in response to receiving a request for a webpage from a requesting computer, transmit a webpage containing a script configured to cause the requesting computer to request one of a plurality of different version of the webpage based on one or more bits of an identification code associated with the requesting computer.

Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.

DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of a computer network.

FIGS. 2A-2B are screen shots of two versions of a webpage that is subject to an A/B test.

FIGS. 3-4 are diagrams of a user computer and a server communicating over a network.

DETAILED DESCRIPTION

Referring to FIG. 1, three servers 16 a-16 c are associated with a company, such as Fidelity Investments®, and provide content to user computers (e.g., user computer 12) that access the company's website via the Internet 12. While user computer 12 is illustrated as a desktop computer, it could be any web-enabled device, such as a laptop computer, cellular telephone, personal data assistant (PDA), etc.

The three servers have identical content and are geographically separated to provide for redundancy and a high level of reliability. Thus, if a power outage or other failure happens at one server site, the other servers can provide content for the company's website to user computers. Requests for content from user computers are diverted by a domain name server (not shown) maintained by the company to one of the three servers based on load and availability of the servers. Thus, for example, if a user types the company's website address in a web browser running on the user computer, a domain name server maintained by the company may divert the user's request to the server that has the least amount of traffic. This server then supplies the content for the requested page.

Occasionally, the company may want to perform A/B testing on various content of its web pages to determine factors of a web page that affect usability of the webpage. For example, as shown in FIGS. 2A-2B, the company may want to sent two different versions of a “Mutual Funds” webpage to different groups of users to see which version, if either, evokes a better response from users. The web page shown in FIG. 2A is identical to the version shown in FIG. 2B except for the box labeled “Spotlight”. In the version depicted in FIG. 2A, only a portion of the text of each bullet in the Spotlight box is hyperlinked to another webpage, whereas in the version depicted in FIG. 2B, the entire text of each bullet is hyperlinked. The company may send the page having the first Spotlight box (content “A”) to some users who access the mutual funds webpage and the page having the box (content “B”) to other users, and then track user response to see if one version prompts a higher percentage of users to click on one of the hyperlinks in the Spotlight box than the other version. If the percentage difference is statistically significant, then the company may adopt the version with the higher click rate.

To maintain a redundancy and a high level of reliability, it is advantageous to ensure that all of the servers used by the company to provide content for its website contain identical content. Thus, rather than having one server maintain content “A” for a first version of a webpage and a second server maintain content “B” for a second version of a webpage, the system depicted in FIG. 1 provides the content for both versions on the same server. Accordingly, when a request for content of a webpage that is the subject of an A/B test is received by a server, the company must use some mechanism to determine whether to supply the request using a first or second (or other) version of the webpage.

One way to select among different versions of a webpage is to use one or more bits in the user computer's Internet Protocol (IP) address. Thus, for example, if a user computer has an even-numbered IP address (i.e., its least significant bit is a zero), then a content “A” may be supplied in response to the webpage request, whereas if the user computer has an odd-numbered IP address (i.e., its least significant bit is a one), then content “B” may be supplied. In many instances a proxy server submits a request for a webpage on behalf of a user computer, and in these instances, the IP address of the proxy server can be used to select content for a requested webpage.

Referring to FIG. 3, a system for providing different content for a webpage undergoing an A/B test based on the IP address of the user computer is illustrated. A user computer 12 requests (20) a webpage from one of the company's servers, e.g., server 16 a. When the server receives the user's request, it assembles a target page, T.html, located at a particular Uniform Resource Locator (URL) that has the following snippet of JavaScript in its page content: <script type = “text/javascript”> var ipaddress = ‘<!--#echo var=”REMOTE_ADDR”-->’; location.replace((new Array(“A.html”, “B.html”)) [ipaddress.charAt(ipaddress.length − 1) % 2]); </script> The server also inserts (21) the IP address of the requesting user (or proxy server) into the #echo directive (i.e., ‘<!- -#echo var=“REMOTE_ADDR”→’) and then sends (22) the page to the user computer.

When a browser on the user computer receives the target page it executes (24) the JavaScript, which conditionally redirects the user's browser to either A.html (28) (which has a unique URL) or B.html (30) (which also has a unique URL) depending upon whether the user's IP address is even or odd. One way in JavaScript to determine whether the user's IP address is even or odd is to use the charAt command shown above. The server can then track user responses to the two web pages (i.e., A.html and B.html) to determine whether users who received A.html responded differently than user's who received B.html. While two different versions of a webpage are usually made highly similar to test user reaction to small changes to a given page, they can be identified by any arbitrary pair of URLs.

If the user does not have a browser capable of executing the JavaScript, the browser displays (32) the content of the target page, T.html. In some implementations, the target page includes a noscript tag, which is a HTML/XHTML element used to define an alternate content if a script is not executed. The noscript tag can be used to display content “A”, content “B”, or some other content (e.g., a message indicating that the user's browser does not support JavaScript) if the browser does not execute the script.

Some implementations may use other bits in the user's IP address to divide traffic into arbitrarily small segments. For example, an A/B tester may want to divert 10% of the traffic to A.html, 20% to B.html, and 70% to C.html. Assuming that bits in received IP addresses are approximately uniformly distributed among all possibilities, the system can divert user IP addresses ending in a particular number, say the number three (011), to A.html, divert user IP addresses ending in two other numbers, say five (101) and six (110), to B.html, and all others to C.html.

Some implementations may use server-side logic to divert traffic. For example, as shown in FIG. 4, user computer 12 transmits (40) a request for a web page to server 16 a. When the server 16 a receives the request, it checks (42) to see if a tracker identification accompanies the request. A tracker identification is type of cookie that is deposited on the user's computer, for example, when a user visits the company's website. When the user subsequently requests information from the company website, the browser will include the tracker identification with the URL request.

If the request includes a tracker identifier, the server examines (46) the least significant bit of the tracker identifier to determine if it is even or odd. If the tracker identifier is even, the server sends A.html (48) (located at a unique URL) to the user. If odd, the server sends B.html (50) (located at a different URL). If the user request does not include a tracker identifier, the server assigns (44) the request a tracker identifier and then sends either A.html (48) or B.html (50) depending upon whether the assigned tracker identifier is even or odd.

As with the user-side approach, a server-side approach can use any of the bits in the user identifier to choose which version of a webpage to provide to a user. For example, if an A/B tester wants to divert 25% of the traffic to A.html and 75% to B.html, the server can be configured to look at any two bits of a received user identifier (e.g., the last two bits or the first and the last bit). If the two examined bits are one value, say zero (00), the server can direct the request to A.html. If the two examined bits are any other value (e.g., 01, 10, or 11) the server directs the request to B.html. Assuming that the values of the two examined bits are distributed uniformly among all possibilities, then approximately 25% of the traffic will see A.html and 75% of the traffic will see B.html. Responses of some or all of the users who receive A.html and B.html can be tracked to see if one version elicits a more positive response than the other version. By repeating this process on small changes to the company's website, the company can continuously improve usability of the site.

Other embodiments are within the scope of the following claims. For example, while the user-side approach illustrated in FIG. 3 uses an IP address associated with the user computer to provide different versions of a webpage, some implementations may use other identification codes associated with the user computer (e.g., a tracker ID code) to provide different versions of a webpage. Similarly, in the server-side approach, any user identification code (e.g., user or proxy IP address, tracker ID, etc.) can be used to provide different versions of a webpage in response to a request. 

1. A method comprising: selecting one of at least two different versions of an electronic communication to be displayed to a user through an interactive user interface, the communication contemplating an action to be taken by the user using the interface, the selecting being based on an identification code associated with the user.
 2. The method of claim 1 wherein the communication is a web page.
 3. The method of claim 1 wherein the identification code associated with the user comprises an Internet Protocol address associated with the user.
 4. The method of claim 1 wherein versions are different with respect to a visible interactive element.
 5. The method of claim 1 wherein the user interface is a web browser.
 6. The method of claim 1 wherein the code is associated with a computer of the user.
 7. A computer-implemented method for performing an A/B test of a webpage, the method comprising: receiving a request for a webpage; and selecting one of a plurality of different versions of the webpage based on bits of an identification code associated with a user computer making the request.
 8. The method of claim 7 wherein the identification code comprises an address associated with a user computer making the request.
 9. The method of claim 8 wherein the address comprises an internet protocol address.
 10. The method of claim 8 wherein the address comprises an address of a proxy computer making a request on behalf of the user computer.
 11. The method of claim 7 wherein the address comprises an address of a user computer.
 12. The method of claim 7 wherein the identification code comprises a tracking code provided by the user computer to a server.
 13. The method of claim 7 wherein the selecting is performed by the user computer.
 14. The method of claim 7 wherein selecting one of a plurality of different version of the webpage comprises: in response to receiving a request at a server, sending to the user computer a webpage containing a script configured to cause the user computer to request a first version of the webpage located at a first Uniform Resource Located based on one or more bits of an identification code associated with the user computer.
 15. The method of claim 14 wherein the identification code comprises an Internet Protocol address associated with the user computer.
 16. The method of claim 14 wherein the script is further configured to cause the user computer to request a second URL based on one or more bits of an identification code associated with the user computer.
 17. The method of claim 7 wherein a server performs the selecting one of a plurality of different versions of the webpage based on bits in an identification code associated with a user computer making the request.
 18. The method of claim 1 wherein the user computer comprises a cellular telephone.
 19. The method of claim 1 wherein the user computer comprises a personal data assistant.
 20. The method of claim 1 wherein the user computer comprises a personal computer.
 21. A computer-implemented method for implementing an A/B test of a webpage, the method comprising: receiving at a server a plurality of requests over time for a webpage, wherein each of the received requests includes an identification code associated with a user computer making the request; diverting each of the received requests to one of several different versions of the webpage, each located at a different Uniform Resource Locator, based on one or more bits in the identification code.
 22. The method of claim 21 further comprising: tracking responses of users who receive different version of the webpage.
 23. The method of claim 21 further comprising: comparing the tracked responses of users.
 24. The method of claim 21 wherein diverting each received request comprises: sending the user computer a webpage containing a script configured to cause the user computer to request one of the several different versions of the webpage based on one or more bits in the identification code associated with the user computer.
 25. The method of claim 21 wherein diverting each received request comprises: diverting each received request at the server to one of several different versions of the webpage, each located at a different Uniform Resource Locator, based on one or more bits in the identification code.
 26. The method of claim 21 wherein the identification code comprises an address associated with a user computer making the request.
 27. The method of claim 26 wherein the Internet Protocol address is an address of a proxy computer making a request on behalf of the user computer.
 28. The method of claim 26 wherein the address is an Internet Protocol address.
 29. The method of claim 21 wherein the identification code comprises a tracking code provided by the user computer to a server.
 30. A medium bearing instructions to cause an instruction processor to: in response to receiving a request for a webpage from a requesting computer, select one of a plurality of different versions of a webpage based on bits of an identification code associated with a user computer making the request; and transmit the selected webpage to the requesting computer.
 31. The medium of claim 30 wherein the identification code comprises an Internet Protocol address of the requesting computer.
 32. The medium of claim 30 wherein the identification code comprises a tracker identification code associated with the requesting computer.
 33. A medium bearing instructions to cause an instruction processor to: in response to receiving a request for a webpage from a requesting computer, transmit a webpage containing a script configured to cause the requesting computer to request one of a plurality of different version of the webpage based on one or more bits of an identification code associated with the requesting computer.
 34. The medium of claim 33 wherein the identification code comprises an address of the requesting computer.
 35. The medium of claim 33 wherein the identification code comprises a tracker identification code associated with the requesting computer. 